package com.weishuang.account.manager.convert;


import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface BaseConverter<SOURCE, TARGET> {


    TARGET convertTarget2Source(SOURCE accountUser);

    List<TARGET> covertTargetList2SourceList(List<SOURCE> list);


}
